package com.learn;

import java.time.LocalDateTime;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(1)
public class ServerStartedReport implements CommandLineRunner{

	@Override
	public void run(String... args) throws Exception {
		System.out.println("============应用的时间============="+LocalDateTime.now().toString());
	}

}
